#!/usr/bin/env python
# -*- coding:utf-- -*-
# __author__ = "liangpp"
# Date: 2023/1/12
from datetime import timedelta, date


def dt_format(dt):
    current_datetime = dt + timedelta(hours=8)
    dt = date.strftime(current_datetime, '%Y-%m-%d %H:%M:%S')
    return dt